<header>
	<!-- 移动端导航 start -->
	<div class="m-mobilenav">
		<div class="mbnav-btn">
			<p class="line line1"></p>
			<p class="line line2"></p>
			<p class="line line3"></p>
		</div>
		<div class="mbnav-bd">
			<div class="mbnav-wp show">
				<div class="mbnav-fix">
					<ul class="mbnav-list">

						{volist name="navs" id="nav"}
						{if $nav.code == 'products' }
						<!-- 产品板块 -->
						<li class="mbnav-item">
						<a href="/{$proCatList[0]['rewrite_url']}.html" title=""> <span>{$nav.name}</span></a>

					 
							<i class="nextshow">+</i>
							<ul class="mbsbnav-list mbsbnav-list1">
								{volist name="proCatList" id="child"}
								
								<li class="mbsbnav-item mbsbnav-item1">

									<a href="/{$child.rewrite_url}.html" title=""> {$child.name} </a>
									<i class="nextshow">+</i>
									<ul class="mbsbnav-list mbsbnav-list2">
										{volist name='$child.productList' id='pro'}
											<li class="mbsbnav-item mbsbnav-item2"> 
												<a href="/{$pro.rewrite_url}.html" title="">{:strip_tags($pro.name)}</a>
											</li>
										{/volist} 
									</ul>

								</li>
								{/volist}
								 
							</ul>
						</li>

						{else /}
						<!-- 非产品板块 -->
						<li class="mbnav-item">
							<a class="{if $navId == $nav.id}current{/if}"
								href="/{if $nav.open_new}{$nav.rewrite_url}{else/}{$nav.children[0]['rewrite_url']}{/if}.html"
								title="">
								<span>{$nav.name}</span>
							</a>
							{if count($nav.children)>0 }
							<i class="nextshow">+</i>
							<ul class="mbsbnav-list mbsbnav-list1">
								{if $nav.code == 'blogs' }
								{volist name='cmsCatList' id='cmsCat'}
									<li class="mbsbnav-item mbsbnav-item1">
										<a href="/{$cmsCat.rewrite_url}.html" title=""> {$cmsCat.name} </a>
									</li>
								{/volist}
							{/if}

								{volist name='$nav.children' id='child'}
								<li class="mbsbnav-item mbsbnav-item1">
									<a href="/{$child.rewrite_url}.html" title=""> {$child.name} </a>

									{if count($child.children)>0 }

									<i class="nextshow">+</i>
									<ul class="mbsbnav-list mbsbnav-list2">
										{volist name='$child.children' id='child1'}

										<li class="mbsbnav-item mbsbnav-item2">
											<a href="/{$child1.rewrite_url}.html" title="">{$child1.name}</a>
										</li>
										{/volist}

									</ul>
									{/if}

								</li>
								{/volist}



							</ul>
							{/if}

						</li>

						{/if}


						{/volist}


					</ul>

					<div class="phdouyuyan">
						{volist name='i18nSites' id='vo'}
						<a class="" href="{$vo.link}" target="_blank">{$vo.label}</a>
						{/volist}
					</div>
				</div>
			</div>
		</div>
	</div>
	<!-- 移动端导航 end -->
	<!-- PC 端端导航 start -->
	<nav class="{if $isHome}m-muban-nav{else/}m-muban-nav fydh{/if}">
		<div class="m-muban-mid w1600">
			<a class="m-muban-mid-logo" href="/" title="">
				<img src="{$systemInfo.shop_logo}" alt="{$systemInfo.title}">
			</a>
			<div class="m-muban-mid-right">
				<ul>
					{volist name="navs" id="nav"}

					<li class="{if $navId == $nav.id}active{/if}">
						{if $nav.code == 'products' }
						<!-- 产品导航 -->
						<a href="/{$proCatList[0]['rewrite_url']}.html" title="{$nav.name}" onclick="return false;"> {$nav.name}</a>
						<div class="ezhongnav">
							<ul>
								{volist name="proCatList" id="child"}

								<li>
									<a href="/{$child.rewrite_url}.html" title="$child.name}"  target="_blank">{$child.name}</a>
									<ul>
										{volist name='$child.productList' id='pro'}
											<li>
												<a class="" href="{if !empty($pro.link)}{$pro.link}{else /}/{$pro.rewrite_url}.html{/if}" title="{:strip_tags($pro.name)}" target="_blank">{:strip_tags($pro.name)}</a>
											</li>
										{/volist}
									</ul>
								</li>
								{/volist}

							</ul>
						</div>
                        {elseif $nav.code == 'videos' /}
                            <a href="/{if $nav.open_new}{$nav.rewrite_url}{else/}{$nav.children[0]['rewrite_url']}{/if}.html" title="{$nav.name}">{$nav.name}</a>
                            <ul>
                            {volist name='videoCatList' id='videoCat'}
                                    <li>
                                        <a class="" href="/{$videoCat.rewrite_url}.html" title="{$videoCat.name}" >
                                            <span>
                                                <img src="/static/images/dhicon.png" alt="{$systemInfo.title}" />
                                            </span>
                                            {$videoCat.name}
                                        </a>
                                    </li>
                            {/volist}
                            </ul>
                        {elseif $nav.id == '4' /}
                        <!-- 产品导航 -->
                        <a href="/{if $nav.open_new}{$nav.rewrite_url}{else/}{$nav.children[0]['rewrite_url']}{/if}.html"
                           title="{$nav.name}">{$nav.name}</a>
                        <div class="ezhongnav">
                            <ul>
                                {volist name="nav.children" id="pro" key="k"}
                                {if condition="($k-1) % 5 == 0"}
                                <li><ul>
                                    {/if}

                                    <li>
                                        <a href="/{$pro.rewrite_url}.html" title="{:strip_tags($pro.name)}" target="_blank">
                                            {:strip_tags($pro.name)}
                                        </a>
                                    </li>

                                    {if condition="$k % 5 == 0 || $k == count($nav.children)"}
                                </ul></li>
                                {/if}
                                {/volist}


                            </ul>
                        </div>
                        {else /}
                            <a href="/{if $nav.open_new}{$nav.rewrite_url}{else/}{$nav.children[0]['rewrite_url']}{/if}.html"
                                title="{$nav.name}">{$nav.name}</a>
                            {if count($nav.children)>0 }
                            <ul>
                                {if $nav.code == 'blogs' }
                                    {volist name='cmsCatList' id='cmsCat'}
                                    <li>
                                        <a class="" href="/{$cmsCat.rewrite_url}.html" title="{$cmsCat.name}" target="_blank">
                                            <span>
                                                <img src="/static/images/dhicon.png" alt="{$systemInfo.title}" />
                                            </span>
                                            {$cmsCat.name}
                                        </a>
                                    </li>
                                    {/volist}
                                {/if}
                                {volist name='$nav.children' id='child'}

                                <li>
                                    <a class="" href="/{$child.rewrite_url}.html" title="">
                                        <span>
                                            <img src="/static/images/dhicon.png" alt="{$systemInfo.title}" />
                                        </span>
                                        {$child.name}
                                    </a>
                                </li>
                                {/volist}
                            </ul>
                            {/if}
						{/if}
					</li>
					{/volist}
				</ul>
				<div class="header-yuyan">
					<p class="yuyan">En<img src="/static/images/xljt.png" alt="{$systemInfo.title}" /></p>
					{if count($i18nSites)>0 }

					<div class="yuyan-div">
						{volist name='i18nSites' id='vo'}
							<a class="" href="{$vo.link}" title="" target="_blank"> {$vo.label} </a>
						{/volist} 
					</div>
					{/if}

				</div>
				<div class="dh-sousou">
					<img class="search-dh" src="/static/images/search.png" alt="{$systemInfo.title}" title="" />
					<div class="sousou-kuang">
						<form action="/search.html" method="get">
							<input type="text" placeholder="Search..." name="keywords" />
							<div class="tj">
								<img class="search-dh" src="/static/images/search.png" alt="{$systemInfo.title}" title="" />
								<input type="submit" value="" />
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</nav>
	<!-- PC 端导航 end -->
</header>